package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface CheckGroupService {
    public void add(CheckGroup checkGroup, Integer[] checkitemIds);

    public void delete(Integer id);

    public CheckGroup findGroupById(Integer id);

    public Integer[] findItemsByGroupId(Integer id);

    public void update(CheckGroup checkGroup, Integer[] checkitemIds);

    public List<CheckGroup> findAll();

    public PageResult findPage(QueryPageBean queryPageBean);


}
